@import url("https://fonts.googleapis.com/css?family=Changa%20One");
@import url("https://fonts.googleapis.com/css?family=Imprima");

/* Transparent background */
yt-live-chat-renderer {
  background-color: transparent !important;
}

yt-live-chat-ticker-renderer {
  background-color: transparent !important;
  box-shadow: none !important;
}

yt-live-chat-author-chip #author-name {
  background-color: transparent !important;
}

yt-live-chat-item-list-renderer #item-scroller {
  overflow: hidden !important;
}

yt-live-chat-text-message-renderer #content,
yt-live-chat-membership-item-renderer #content {
  overflow: visible !important;
}

/* Hide header and input */
yt-live-chat-header-renderer,
yt-live-chat-message-input-renderer {
  display: none !important;
}

/* Hide unimportant messages */
yt-live-chat-text-message-renderer[is-deleted],
yt-live-chat-membership-item-renderer[is-deleted] {
  display: none !important;
}

yt-live-chat-mode-change-message-renderer, 
yt-live-chat-viewer-engagement-message-renderer, 
yt-live-chat-restricted-participation-renderer {
  display: none !important;
}

yt-live-chat-text-message-renderer a,
yt-live-chat-membership-item-renderer a {
  text-decoration: none !important;
}

/* Global Setting */
yt-live-chat-renderer {
  
}
#item-scroller {
  
}

/* Reduce side padding */
yt-live-chat-text-message-renderer {
  padding-left: 4px !important;
  padding-right: 4px !important;
}

/* Outlines */
yt-live-chat-renderer * {
  text-shadow: -2px -2px #000000, -2px -1px #000000, -2px 0px #000000, -2px 1px #000000, -2px 2px #000000, -1px -2px #000000, -1px -1px #000000, -1px 0px #000000, -1px 1px #000000, -1px 2px #000000, 0px -2px #000000, 0px -1px #000000, 0px 0px #000000, 0px 1px #000000, 0px 2px #000000, 1px -2px #000000, 1px -1px #000000, 1px 0px #000000, 1px 1px #000000, 1px 2px #000000, 2px -2px #000000, 2px -1px #000000, 2px 0px #000000, 2px 1px #000000, 2px 2px #000000;
  font-family: "Imprima", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE \8F6F \96C5 \9ED1 ", SimHei, Arial, sans-serif;
  font-size: 18px !important;
  line-height: 20px !important;
}

/* Avatars */
yt-live-chat-text-message-renderer #author-photo,
yt-live-chat-text-message-renderer #author-photo img,
yt-live-chat-paid-message-renderer #author-photo,
yt-live-chat-paid-message-renderer #author-photo img,
yt-live-chat-membership-item-renderer #author-photo,
yt-live-chat-membership-item-renderer #author-photo img {
  
  width: 24px !important;
  height: 24px !important;
  border-radius: 24px !important;
  margin-right: 6px !important;
}

/* Channel names */
yt-live-chat-text-message-renderer #author-name[type="owner"],
yt-live-chat-text-message-renderer yt-live-chat-author-badge-renderer[type="owner"] {
  color: #ffd600 !important;
}
yt-live-chat-text-message-renderer #content #author-name {
  
}
yt-live-chat-text-message-renderer #author-name[type="moderator"],
yt-live-chat-text-message-renderer yt-live-chat-author-badge-renderer[type="moderator"] {
  color: #5e84f1 !important;
}

yt-live-chat-text-message-renderer #author-name[type="member"],
yt-live-chat-text-message-renderer yt-live-chat-author-badge-renderer[type="member"] {
  color: #0f9d58 !important;
}

yt-live-chat-text-message-renderer #author-name {
  
  color: #cccccc !important;
  font-family: "Changa One", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE \8F6F \96C5 \9ED1 ", SimHei, Arial, sans-serif;
  font-size: 20px !important;
  line-height: 20px !important;
}

/* Show colon */
yt-live-chat-text-message-renderer #author-name::after {
  content: ":";
  margin-left: 2px;
}

/* Hide badges */
yt-live-chat-text-message-renderer #chat-badges {
  
  vertical-align: text-top !important;
}
img.yt-live-chat-author-badge-renderer, yt-icon.yt-live-chat-author-badge-renderer {
  width: 20px;
  height: 20px;
}

/* Medal */
yt-live-chat-author-medal-renderer {
    display: none;
    
}
yt-live-chat-author-medal-renderer[is-fan-group] {
  display: flex;
}
#medal-name.yt-live-chat-author-medal-renderer {
  
  font-size: 14px !important;
  line-height: 14px !important;
}

#medal-level.yt-live-chat-author-medal-renderer {
  
  font-size: 14px !important;
  line-height: 14px !important;
}


/* Messages */
yt-live-chat-text-message-renderer #message,
yt-live-chat-text-message-renderer #message * {
  color: #ffffff !important;
  font-family: "Imprima", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE \8F6F \96C5 \9ED1 ", SimHei, Arial, sans-serif;
  font-size: 18px !important;
  line-height: 18px !important;
}

yt-live-chat-text-message-renderer #image-and-message {
  display: inline !important;
  overflow: visible !important;
}




yt-live-chat-text-message-renderer #message {
  display: inline !important;
  overflow: visible !important;
}

yt-live-chat-text-message-renderer #image-and-message .emoji {
  width: auto !important;
  height: 48px !important;
}

#image-and-message img[display="block"] {
  border-radius: 4px;
}

#image-and-message img[display="inline"] {
  position: relative;
  top: 3px;
  border-radius: 0px;
}

/* Timestamps */
  


/* Background colors */
body {
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0);
}

yt-live-chat-text-message-renderer,
yt-live-chat-text-message-renderer[is-highlighted] {
  background-color: rgba(204, 204, 204, 0) !important;
}

yt-live-chat-text-message-renderer[author-type="owner"],
yt-live-chat-text-message-renderer[author-type="owner"][is-highlighted] {
  background-color: rgba(255, 214, 0, 0) !important;
}

yt-live-chat-text-message-renderer[author-type="moderator"],
yt-live-chat-text-message-renderer[author-type="moderator"][is-highlighted] {
  background-color: rgba(94, 132, 241, 0) !important;
}

yt-live-chat-text-message-renderer[author-type="member"],
yt-live-chat-text-message-renderer[author-type="member"][is-highlighted] {
  background-color: rgba(15, 157, 88, 0) !important;
}

/* SuperChat/Fan Funding Messages */
yt-live-chat-paid-message-renderer {
  margin: 4px 0 !important;
}

yt-live-chat-paid-message-renderer #author-name,
yt-live-chat-paid-message-renderer #author-name *,
yt-live-chat-membership-item-renderer #header-content-inner-column,
yt-live-chat-membership-item-renderer #header-content-inner-column * {
  color: #ffffff !important;
  font-family: "Changa One", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE \8F6F \96C5 \9ED1 ", SimHei, Arial, sans-serif;
  font-size: 20px !important;
  line-height: 20px !important;
}

yt-live-chat-paid-message-renderer #purchase-amount,
yt-live-chat-paid-message-renderer #purchase-amount *,
yt-live-chat-membership-item-renderer #header-subtext,
yt-live-chat-membership-item-renderer #header-subtext * {
  color: #ffffff !important;
  font-family: "Imprima", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE \8F6F \96C5 \9ED1 ", SimHei, Arial, sans-serif;
  font-size: 18px !important;
  line-height: 18px !important;
}

yt-live-chat-paid-message-renderer #content,
yt-live-chat-paid-message-renderer #content * {
  color: #ffffff !important;
  font-family: "Imprima", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE \8F6F \96C5 \9ED1 ", SimHei, Arial, sans-serif;
  font-size: 18px !important;
  line-height: 18px !important;
}

yt-live-chat-membership-item-renderer #card,
yt-live-chat-membership-item-renderer #header {
  background-color: #0f9d58 !important;
  margin: 4px 0 !important;
}

yt-live-chat-ticker-renderer {
  display: none !important;
}

/* SuperChat Ticker */
yt-live-chat-ticker-paid-message-item-renderer,
yt-live-chat-ticker-paid-message-item-renderer *,
yt-live-chat-ticker-sponsor-item-renderer,
yt-live-chat-ticker-sponsor-item-renderer * {
  color: #ffffff !important;
  font-family: "Imprima", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE \8F6F \96C5 \9ED1 ", SimHei, Arial, sans-serif;
}

@import url("https://fonts.googleapis.com/css?family=Changa%20One");
@import url("https://fonts.googleapis.com/css?family=Imprima");
body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }
/* HIDE */
yt-live-chat-renderer,
yt-live-chat-ticker-renderer,
yt-live-chat-author-chip #author-name{
  background: transparent !important;
}
yt-live-chat-item-list-renderer #items,
yt-live-chat-item-list-renderer #item-scroller {
  overflow: hidden !important;
}

yt-live-chat-text-message-renderer #content,
yt-live-chat-membership-item-renderer #content {
  overflow: visible !important;
}
#items.yt-live-chat-ticker-renderer{
display:none;}
/* SC动画大小（默认200） */
:root {
	--sc-width: 200px;
}

@import url("https://gitee.com/kirisame_cruz/cu-tech/raw/master/CSS/TGAA_danmaku.css");

/*------------------------------box------------------------------------*/
#card.yt-live-chat-text-message-renderer,
yt-live-chat-text-message-renderer[author-type="member"] #card {
	position: relative !important;
	min-width: 400px;
	padding: 40px 2em;
	margin-top: 40px;
	border: solid;
	background-color: transparent !important;
	border-image-source: url(https://s2.loli.net/2023/03/06/N1fUmSDE7MWXzwT.png);
	border-image-slice: 220 220 220 220 fill;
	border-image-width: 30px 30px 30px 30px;
	align-items: center;
	z-index: -1;
}

#image-and-message #message.yt-live-chat-text-message-renderer {
	color: #f5f5f5;
	text-shadow: -2px -2px #000000, -2px -1px #000000, 
	-2px 0px #000000, -2px 1px #000000, 
	-2px 2px #000000, -1px -2px #000000,
	 -1px -1px #000000, -1px 0px #000000,
	  -1px 1px #000000, -1px 2px #000000, 
	  0px -2px #000000, 0px -1px #000000, 
	  0px 0px #000000, 0px 1px #000000, 
	  0px 2px #000000, 1px -2px #000000, 
	  1px -1px #000000, 1px 0px #000000, 
	  1px 1px #000000, 1px 2px #000000, 
	  2px -2px #000000, 2px -1px #000000, 
	  2px 0px #000000, 2px 1px #000000, 
	  2px 2px #000000;
}

/* ----------------------上舰--------------------------- */
#card.yt-live-chat-membership-item-renderer {
	background-color: transparent !important;
	border-image-source: url(https://s2.loli.net/2023/03/21/gjSMYP8pAK126kF.png);
	border-image-slice: 0 50 0 50 fill;
	border-image-width: 0px 40px 0px 40px;
	padding: 20px 0;
}

yt-live-chat-membership-item-renderer[show-only-header] #header.yt-live-chat-membership-item-renderer {
	background-color: transparent !important;
}



#card.yt-live-chat-membership-item-renderer::after {
	position: absolute;
	right: 40px;
	top: 11px;
	content: "";
	padding: 50px;

	background-image: url(https://s2.loli.net/2023/03/10/wFd9K6suJ13aIhM.png) !important;
	background-repeat: no-repeat;
	background-size: contain;
	-webkit-animation: swing-in-top-fwd 1s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
	animation: swing-in-top-fwd 1s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
}


#card.yt-live-chat-membership-item-renderer::before {
	content: "";
	position: absolute;
	right: calc(50% - 45px);
	top: calc(50% - 0);
	background-image: url(https://s2.loli.net/2023/03/21/P2rv5ZscJBYTChA.png);
	background-repeat: no-repeat;
	background-size: contain;
	padding: 34px;
	margin: auto;
	filter: drop-shadow(5px 5px 2px rgb(255, 0, 0));
	-webkit-animation: shadow-drop-2-center 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	animation: shadow-drop-2-center 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes swing-in-top-fwd {
	0% {
		-webkit-transform: rotateX(-100deg);
		transform: rotateX(-100deg);
		-webkit-transform-origin: top;
		transform-origin: top;
		opacity: 0;
	}

	100% {
		-webkit-transform: rotateX(0deg);
		transform: rotateX(0deg);
		-webkit-transform-origin: top;
		transform-origin: top;
		opacity: 1;
	}
}

@keyframes swing-in-top-fwd {
	0% {
		-webkit-transform: rotateX(-100deg);
		transform: rotateX(-100deg);
		-webkit-transform-origin: top;
		transform-origin: top;
		opacity: 0;
	}

	100% {
		-webkit-transform: rotateX(0deg);
		transform: rotateX(0deg);
		-webkit-transform-origin: top;
		transform-origin: top;
		opacity: 1;
	}
}

@keyframes shadow-drop-2-center {
	0% {
		-webkit-transform: translateZ(0);
		transform: translateZ(0);
		-webkit-filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
		filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
	}

	100% {
		-webkit-transform: translateZ(50px);
		transform: translateZ(50px);
		-webkit-filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.8));
		filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.8));
	}
}

/* -----------------------徽章-------------------------- */
/* 徽章透明度 */
img.yt-live-chat-author-badge-renderer {
	position: absolute;
	top:-25px;
	left: 20px;
	height: 20px;
	width: 20px;
	filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.28))
	opacity(0.9);
	mix-blend-mode:lighten ;
	z-index:0;
}

.yt-icon-container.yt-icon,
yt-icon {
	position: absolute;
	background-image: url(https://s2.loli.net/2023/03/09/XLb57JxiQuEkGeV.png);
	background-repeat: no-repeat;
	background-size: contain;
	padding: 20px;
	right: 0px;
	top: 0px;
}

.yt-icon-container.yt-icon::after,
yt-icon::after {
	content: "";
	background-image: url(https://s2.loli.net/2023/03/09/zIuHNyfAsv7pqDj.png);
	background-repeat: no-repeat;
	background-size: contain;
	padding: 42px;
	position: absolute !important;
	right: -4px;
	top: -2px;
	z-index: -1 !important;
}

yt-icon::before {
	content: "";
	position: absolute;
	width: 30%;
	height: 100%;
	background-image: linear-gradient(90deg, #fff5, #fffB, #fff5);
	transform-origin: left top;
	transform: skewx(-45deg);
	left: 50px;
	mix-blend-mode: lighten;
	top: 0;
	-webkit-mask-image: url(https://s2.loli.net/2023/03/09/XLb57JxiQuEkGeV.png);
}

svg.style-scope.yt-icon {
	display: none !important;
}

/* opretor */
.yt-icon-container.yt-icon,
yt-icon {
	background-image: url(https://s2.loli.net/2023/03/09/XLb57JxiQuEkGeV.png);
	background-repeat: no-repeat;
	background-size: contain;
	padding: 20px;
}

/*隐藏头像*/
yt-live-chat-text-message-renderer #img {
	display: none;
}

yt-live-chat-text-message-renderer #message {
	position: relative;
}

yt-live-chat-text-message-renderer #author-name,
yt-live-chat-text-message-renderer #yt-live-chat-author-badge-renderer {
	position: relative;
}

yt-live-chat-text-message-renderer #author-name,
yt-live-chat-text-message-renderer #author-name [type="owner"] {
	font-size: 22px !important;
	padding: 10px 1em 0 1em;
	margin-top: 0px;
	min-width: 180px;
	height: 40px;
	color: #fef7df !important;
	position: absolute;
	left: 18px;
	top: -40px;
	border: solid;
	border-image-source: url(https://s2.loli.net/2023/03/06/bPF2s7vaB6cQI1H.png);
	border-image-slice: 0 140 25 140 fill;
	border-image-width: 0px 20px 1px 20px;
	text-align: center;
	justify-content: center;
	font-family: "华文中宋";
	font-weight: bolder !important;
	text-shadow: #000 1px 0 0, #000 0 1px 0, #000 -1px 0 0, #000 0 -1px 0;
	;
	z-index: 0;
}

yt-live-chat-text-message-renderer #chat-badges {
	/display: none;
}

//yt-live-chat-text-message-renderer #author-name::before,
yt-live-chat-text-message-renderer #author-name [type="owner"]::before {
	position: absolute;
	content: " ";
	padding: 0px;
	margin: 0px;
	left: -20px;
	top: -20px;
	min-width: 180px;
	min-height: 40px;
	border: solid;
	border-image-source: url(https://s2.loli.net/2023/03/06/bPF2s7vaB6cQI1H.png);
	border-image-slice: 140 140 25 140 fill;
	border-width: 20px 20px 1px 20px;
	z-index: 1;
}

yt-live-chat-text-message-renderer #author-name::after,
yt-live-chat-text-message-renderer #author-name [type="owner"]::after {
	content: " ";
}


/*------------next page----------*/
yt-live-chat-text-message-renderer #card::after,
yt-live-chat-text-message-renderer #card [author-type="member"]::after {
	content: " ";
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url(https://s2.loli.net/2023/03/07/8aT2Lt4Rswohe1u.png);
	height: 15px;
	width: 15px;
	position: absolute;
	right: 20px;
	bottom: 5px;
	filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.7));
	animation: slide-right 0.7s infinite;

}

yt-live-chat-text-message-renderer #chat-medal {
	position: absolute;
	padding: 0px;

	margin: 0px;
	right: 0px;
}

@keyframes slide-right {
	0% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}

	40% {
		-webkit-transform: translateX(5px);
		transform: translateX(5px);
	}
}

yt-live-chat-paid-message-renderer {
	/background-color: antiquewhite;

}


/*------------sc-----------*/
/* 关闭头像 */
#img.yt-img-shadow,
#author-photo.yt-live-chat-paid-message-renderer {
	display: none;
}

#header-content-primary-column.yt-live-chat-paid-message-renderer {
	flex-direction: row;
}

#card.yt-live-chat-paid-message-renderer {
	border-radius: 0;
	padding-bottom: 0;
	width: 100%;
	border-image-source: url(https://s2.loli.net/2023/03/08/JCmVlgD2cbvLEAG.png);
	border-image-slice: 0 155 0 155 fill;
	border-image-width: 0px 155px 0px 155px;
	min-height: 4em;
	box-shadow: none;
	/animation: slide-sc 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

#header.yt-live-chat-paid-message-renderer {
	border-radius: 0;
	background-color: transparent;
	padding: 1em 10% 1em 2em;
	text-shadow: 0px 0px 5px #000;

}

#author-name.yt-live-chat-paid-message-renderer,
#purchase-amount.style-scope.yt-live-chat-paid-message-renderer {
	color: #222 !important;
	font-size: 20px !important;
	text-shadow: 0px 0px 10px rgb(0, 0, 0, 0.4);
	font-family: "哥特宋";
}

#author-name.yt-live-chat-paid-message-renderer {
	font-size: 24px !important;
}

#content.yt-live-chat-paid-message-renderer {
	background: transparent;
	border-radius: 0;
}

#content.yt-live-chat-paid-message-renderer {
	color: #222 !important;
	font-family: "哥特宋";
	padding: 0 10% 1em 2em;
}

#message.style-scope.yt-live-chat-paid-message-renderer {
	color: #222 !important;
	font-family: "哥特宋";
	text-shadow: 0px 0px 10px rgb(0, 0, 0, 0.4);
}

yt-live-chat-paid-message-renderer[show-only-header] #header.yt-live-chat-paid-message-renderer {
	border-radius: 0;
	margin-bottom: 0;
}

yt-live-chat-paid-message-renderer[show-only-header] #content.yt-live-chat-paid-message-renderer {
	display: none;
}

@keyframes slide-sc {
	0% {
		-webkit-transform: translateX(-100%);
		transform: translateX(-100%);
	}

	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}


/*------------next page----------*/
yt-live-chat-text-message-renderer #card::after,
yt-live-chat-text-message-renderer #card [author-type="member"]::after {
	content: " ";
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url(https://s2.loli.net/2023/03/07/8aT2Lt4Rswohe1u.png);
	height: 15px;
	width: 15px;
	position: absolute;
	right: 20px;
	bottom: 5px;
	filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.7));
	animation: slide-right 0.7s infinite;

}

yt-live-chat-text-message-renderer #chat-medal {
	position: absolute;
	padding: 0px;

	margin: 0px;
	right: 0px;
}

@keyframes slide-right {
	0% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}

	40% {
		-webkit-transform: translateX(5px);
		transform: translateX(5px);
	}
}

yt-live-chat-paid-message-renderer {
	/background-color: antiquewhite;

}

yt-live-chat-paid-message-renderer #card::after {
	content: "";
	position: absolute;
	padding: 250px;
	bottom: -200%;
	left: calc(50% - 250px);
	background-image: url(https://s2.loli.net/2023/03/07/8KLq1NOSHnYpuzh.png);
	background-repeat: no-repeat;
	background-size: contain;
	z-index: 20;
	opacity: 0;
	transform-origin: 550px 400px;
	animation: 1.5s sc steps(6, jump-none) forwards;
	animation-delay: 0.4s;
}

yt-live-chat-paid-message-renderer #card::before {
	content: "";
	position: absolute;
	padding: 250px;
	bottom: -200%;
	left: calc(50% - 250px);
	background-image: url(https://s2.loli.net/2023/03/07/8bndr3voMOuR1sZ.png);
	background-repeat: no-repeat;
	background-size: contain;
	z-index: 21;
	opacity: 0;
	transform-origin: center;
	animation: 1.5s sc_text steps(6, jump-none) forwards;
	animation-delay: 0.4s;
}

@keyframes sc {
	0% {
		-webkit-transform: translate(5px, 5px) scale(200%);
		transform: translate(5px, 5px) scale(200%);
		opacity: 1;
		-webkit-opacity: 1;
	}

	1% {
		-webkit-transform: translate(0px, 0px) scale(100%);
		transform: translate(0px, 0px) scale(100%);
		opacity: 1;
		-webkit-opacity: 1;
	}

	3% {
		-webkit-transform: translate(-10px, -5px) scale(100%);
		transform: translate(-10px, -5px) scale(100%);
		opacity: 1;
		-webkit-opacity: 1;
	}

	6% {
		-webkit-transform: translate(9px, -3px) scale(100%);
		transform: translate(9px, -3px) scale(100%);
		opacity: 1;
		-webkit-opacity: 1;
		
	}

	9% {
		-webkit-transform: translate(-8px, 7px) scale(100%);
		transform: translate(-8px, 7px) scale(100%);
		opacity: 1;
		-webkit-opacity: 1;
	}

	12% {
		-webkit-transform: translate(6px, -5px) scale(100%);
		transform: translate(6px, -5px) scale(100%);
		opacity: 1;
		-webkit-opacity: 1;
	}

	15% {
		-webkit-transform: translate(-2px, 1px) scale(100%);
		transform: translate(-2px, 1px) scale(100%);
		opacity: 1;
		-webkit-opacity: 1;
	}

	80% {
		-webkit-transform: translate(-2px, 1px) scale(100%);
		transform: translate(-2px, 1px) scale(100%);
		opacity: 1;
		-webkit-opacity: 1;
	}

	100% {
		-webkit-transform: translate(-2px, 1px) scale(100%);
		transform: translate(-2px, 1px) scale(100%);
		opacity: 0;
		-webkit-opacity: 0;
	}

}


@keyframes sc_text {
	0% {
		-webkit-transform: translate(-5px, -5px) scale(120%);
		transform: translate(-5px, -5px) scale(120%);
		opacity: 0;
		-webkit-opacity: 0;
	}

	3% {
		-webkit-transform: translate(10px, 5px) scale(105%);
		transform: translate(10px, 5px) scale(105%);
		opacity: 1;
		-webkit-opacity: 1;
	}

	6% {
		-webkit-transform: translate(-9px, 3px) scale(88%);
		transform: translate(-9px, 3px) scale(88%);
		opacity: 1;
		-webkit-opacity: 1;
	}

	9% {
		-webkit-transform: translate(8px, -7px) scale(100%);
		transform: translate(8px, -7px) scale(100%);
		opacity: 1;
		-webkit-opacity: 1;
	}

	12% {
		-webkit-transform: translate(-6px, 5px) scale(92%);
		transform: translate(-6px, 5px) scale(92%);
		opacity: 1;
		-webkit-opacity: 1;
	}

	15% {
		-webkit-transform: translate(2px, -1px) scale(100%);
		transform: translate(2px, -1px) scale(100%);
		opacity: 1;
		-webkit-opacity: 1;
	}

	80% {
		-webkit-transform: translate(2, -1px) scale(100%);
		transform: translate(2, -1px) scale(100%);
		opacity: 1;
		-webkit-opacity: 1;
	}

	100% {
		-webkit-transform: translate(2px, -1px) scale(100%);
		transform: translate(2px, -1px) scale(100%);
		opacity: 0;
		-webkit-opacity: 0;
	}
}

/*------------sc-----------*/
/* 关闭头像 */
#img.yt-img-shadow,
#author-photo.yt-live-chat-paid-message-renderer {
	display: none;
}

#header-content-primary-column.yt-live-chat-paid-message-renderer {
	flex-direction: row;
}

#card.yt-live-chat-paid-message-renderer {
	border-radius: 0;
	padding-bottom: 0;
	width: 100%;
	border-image-source: url(https://s2.loli.net/2023/03/08/JCmVlgD2cbvLEAG.png);
	border-image-slice: 0 155 0 155 fill;
	border-image-width: 0px 155px 0px 155px;
	min-height: 4em;
	box-shadow: none;
	animation: slide-sc 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

#header.yt-live-chat-paid-message-renderer {
	border-radius: 0;
	background-color: transparent;
	padding: 1em 10% 1em 2em;
	text-shadow: 0px 0px 5px #000;

}

#author-name.yt-live-chat-paid-message-renderer,
#purchase-amount.style-scope.yt-live-chat-paid-message-renderer {
	color: #222 !important;
	font-size: 20px !important;
	text-shadow: 0px 0px 10px rgb(0, 0, 0, 0.4);
	font-family: "哥特宋";
}

#author-name.yt-live-chat-paid-message-renderer {
	font-size: 24px !important;
}

#content.yt-live-chat-paid-message-renderer {
	background: transparent;
	border-radius: 0;
}

#content.yt-live-chat-paid-message-renderer {
	color: #222 !important;
	font-family: "哥特宋";
	padding: 0 10% 1em 2em;
}

#message.style-scope.yt-live-chat-paid-message-renderer {
	color: #222 !important;
	font-family: "哥特宋";
	text-shadow: 0px 0px 10px rgb(0, 0, 0, 0.4);
}

yt-live-chat-paid-message-renderer[show-only-header] #header.yt-live-chat-paid-message-renderer {
	border-radius: 0;
	margin-bottom: 0;
}

yt-live-chat-paid-message-renderer[show-only-header] #content.yt-live-chat-paid-message-renderer {
	display: none;
}

@keyframes slide-sc {
	0% {
		-webkit-transform: translateX(-100%);
		transform: translateX(-100%);
	}

	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

@keyframes slide-sc2 {
	0% {
		clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
	}

	100% {
		clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
	}
}

/* ------------粉丝牌(未完成)----------- */
#chat-medal {
	position: absolute;
	left: 0px;
	top: 0px;
	display: none;
}

#medal-card {
	padding: 0px 1px 0px 9px;
	background: transparent !important;
	border-image-source: url(https://s2.loli.net/2023/03/21/FZwqnm7lGCf9euh.png) !important;
	border-image-slice: 0 22 0 66 fill !important;
	border-image-width: 0px 6px 0px 18px !important;


}

#medal-name,
#medal-level {
	background: transparent !important;
}

#medal-name,
#medal-level {
	font-family: "哥特宋";
}

/* 隐藏上舰时 */
#header-content.yt-live-chat-membership-item-renderer img{
	display:none
	}

